package com.hh.game.service.gateway.manager.service;

import com.hh.game.service.gateway.manager.service.config.ConfigResource;

import java.util.Set;

public interface LoadServiceConfig {
//    void load(ConfigResource resource) throws Exception;

    /**
     *
     * @param resource
     * @param oldData
     * @return 加载成功的路由信息
     * @throws Exception
     */
    Set<ServiceRouteVo> load(ConfigResource resource , Object oldData) throws Exception;
}
